package com.servlet.service;

import com.servlet.bean.User;

import java.sql.SQLException;

/**
 * @Title: UserService
 * @Description:
 * @Auther: py
 * @Version: 1.0
 * @create 2023/12/25 15:12
 */
public interface UserService {

    void registerUser(User user) throws SQLException;

    User loginUser(String username) throws SQLException;
}
